{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}

{% block title %}SolveList{% endblock %}

{% block page_content %}
<div class="page-header">
    <h1>Solve List</h1>
</div>
<div class="container main-container">
    <table id="solvesborad" class="table table-striped">
        <thead>
            <tr>
                <td><b>id</b></td>
                <td><b>Team</b></td>
                <td><b>Flag ID</b></td>
                <td><b>Flag used</b></td>
                <td><b>Date</b></td>
            </tr>
        </thead>
        <tbody>
        {% for solve in solves %}
            <tr>
                <td><span>{{ solve.id }}</span></td>
                <td><span>{{ solve.team_name }}</span></td>
                <td><span>{{ solve.flag_id }}</span></td>
                <td><span>{{ solve.flag_used }}</span></td>
                <td><span>{{ solve.date }}</span></td>
            </tr>
        {% endfor %}
        </tbody>
    </table>
</div>
{% endblock %}
